namespace CaltechSoft.Service.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class AddProcedureExtra : DbMigration
    {
        public override void Up()
        {
            RenameColumn(table: "dbo.ProcedureItems", name: "Equipment_CertificateStandardId", newName: "CertificateStandard_CertificateStandardId");
            RenameIndex(table: "dbo.ProcedureItems", name: "IX_Equipment_CertificateStandardId", newName: "IX_CertificateStandard_CertificateStandardId");
        }
        
        public override void Down()
        {
            RenameIndex(table: "dbo.ProcedureItems", name: "IX_CertificateStandard_CertificateStandardId", newName: "IX_Equipment_CertificateStandardId");
            RenameColumn(table: "dbo.ProcedureItems", name: "CertificateStandard_CertificateStandardId", newName: "Equipment_CertificateStandardId");
        }
    }
}
